﻿@using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
    using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
    {
    @Html.AntiForgeryToken()

    <ul class="nav navbar-nav navbar-right">
        @*<li>
            @Html.ActionLink("Hello " + User.Identity.GetUserName() + "!", "Index", "Manage", routeValues: null, htmlAttributes: new { title = "Manage" })
        </li>*@
        <li>@Html.ActionLink("Help", "Contact", "Home")</li>
        <li>@Html.ActionLink("Setup", "Index", "Setup")</li>
        <li><a href="javascript:document.getElementById('logoutForm').submit()" title="Log off @User.Identity.GetUserName()">Log off</a></li>
    </ul>
    }
}